package hypernexusEntitys

import (
	"github.com/wzh200x/hyperNexus/hyperNexusType"
)

type EntityBase struct {
	TypeId     hyperNexusType.TypeEntityType
	Name       string
	Id         hyperNexusType.TypeEntityId
	DataBaseId hyperNexusType.TypeDataBaseId
}

func (e *EntityBase) Init() {

}

func (e *EntityBase) Reset() {
	e.DataBaseId = 0
}

func NewEntityBase(name string, typeId hyperNexusType.TypeEntityType) EntityBase {
	return EntityBase{
		Name:   name,
		TypeId: typeId,
	}
}
